package com.tsingteng.cosfun.ui.setting;

import com.tsingteng.cosfun.bean.BaseDataBean;
import com.tsingteng.cosfun.bean.ThirdBindBean;
import com.tsingteng.cosfun.bean.UserBean;
import com.tsingteng.cosfun.callback.RxObserver;

/**
 * 描述 :
 * 创建人: 肖利.
 * 时间:2018/8/22
 * qq(872179966)
 */

public interface IAccountMangeModel {
    /**
     * 三方绑定
     * @param thirdparty_token
     * @param login_type
     * @param nickname
     * @param headpic
     * @param open_id
     * @param callback
     */
    void getThirdBind(String thirdparty_token,String login_type,String nickname,String headpic,String open_id,RxObserver<ThirdBindBean> callback);

    /**
     * 账号管理
     * @param callback
     */
    void getAccountMangeMentData(String profileId,RxObserver<ThirdBindBean> callback);
    /**
     * 三方解绑
     * @param callback
     */
    void getThirdUnBind(String untie_type,RxObserver<Integer> callback);

    /**
     * 手机号绑定
     * @param mobile
     * @param verify_code
     * @param timestamp
     * @param bound_type
     * @param callback
     */
    void getMobileBind(String mobile,String verify_code,String timestamp,String bound_type,RxObserver<Object> callback);


    /**
     * 注册
     * @param mobile
     * @param verifyType
     * @param timestamp
     */
    void verfyCode(String mobile,String verifyType,String timestamp, RxObserver<UserBean> callback);
}
